package service

import (
	PostApi "mldong/api/post"
	"reflect"
)

type IPostService interface {
	/**
	* 添加岗位
	 */
	Save(req *PostApi.SaveReq) (res bool, err error)
	/**
	* 修改岗位
	 */
	Update(req *PostApi.UpdateReq) (res bool, err error)
	/**
	* 删除岗位
	 */
	Remove(ids []string) (res bool, err error)
	/**
	* 岗位详情
	 */
	Detail(id string) (res PostApi.PostVO, err error)
	/**
	* 岗位分页查询
	 */
	Page(req *PostApi.PageReq) (res PostApi.PostPageVO, err error)
}

var PostServiceType = reflect.TypeOf((*IPostService)(nil)).Elem()
